package com.jeesite.modules.digitalize.entity.dto.digitalizeComponentNote;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author zhaoshuaixiang
 * @date 2023/11/21 15:28
 */
@Data
public class ShareSetDateDto {

    @NotNull(message = "分享id不能为空")
    @ApiModelProperty(value = "分享id",required = true)
    private Long id;

    @ApiModelProperty(value = "过期时间，为空表示永久有效")
    private Date expirationDate;
}
